package org.example.springtest.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * <pre>
 * [@One]
 * ├── A ─ @AliasFor("B")
 * │
 * └── B ─ @AliasFor("A")
 * </pre>
 *
 * @author yutianhong
 * @version 1.0
 * @since 2025/4/3 14:40
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface TestExplicitAliases {
    @AliasFor("b")
    String a() default "default";

    @AliasFor("a")
    String b() default "default";
}
